home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / mm-0.90 / help / READ.DIR / list.HLP < prev    next >
Encoding:
Text File  |  1990-12-18  |  1.6 KB  |  37 lines

  1. LIST  -  send the current message to a file or to a shell command
  2.  
  3. Usage:  LIST [/switch] filename  
  4.    or:  LIST [/switch]  |"shell-command"
  5.  
  6. The LIST command copies the message to a file or to a shell command.
  7.   The result contains a table of contents (like a HEADERS command) for
  8.   the message, then a page break, then the message.  You may specify
  9.   as an option the switch /headers-only, to print only the header 
  10.   (like a HEADERS command).
  11.  
  12. The command LITERAL LIST will print all header fields regardless of 
  13.   settings of DONT-PRINT-HEADERS or ONLY-PRINT-HEADERS.  SET LIST-INCLUDE-
  14.   HEADERS NO will eliminate the table of contents on the first page of output.
  15.  
  16. The file created with LIST is not a mail file readable by MM (use COPY or
  17.   MOVE to create a mail file).  LIST does not append to existing files,
  18.   so if you use the name of an existing file you will be replacing it.
  19.   
  20. The first version of the LIST command sends the current message to a file.  
  21.  
  22.     Read>list joe             #sends the message to a file "joe"
  23.     Read>list /headers-only hdrs     #sends only the header, to a file 
  24.                      called "hdrs"
  25.  
  26. The second version of the LIST command is similar, but sends the current
  27.   message as input to a shell command.  Use the unix pipe symbol (|)
  28.   and put quotation marks (") around the shell command.  For example,
  29.   one way of printing a message is to LIST it to a print command.
  30.  
  31.     Read>list | "print"        #sends the message to the
  32.                                     shell command "print"
  33.  
  34. For more help, type "help" and one of these topics:
  35.   literal   print   copy   move   other   set dont-print-headers   
  36.   set only-print-headers   set list-include-headers  
  37.